package com.naiterui.ehp.bs.cms.modules.base.service;

import com.naiterui.ehp.bp.support.exception.BusinessException;
import com.naiterui.ehp.bs.cms.common.vo.PageParamsVO;
import com.naiterui.ehp.bs.cms.common.vo.PageVO;
import com.naiterui.ehp.bs.cms.modules.base.vo.HospitalPageVO;

/**
 * @author gaoliangliang
 * @date 2021/2/24 下午3:34
 **/
public interface IHospitalService {

    PageVO<HospitalPageVO> queryPage(PageParamsVO pageParamsVO, HospitalPageVO hospitalPageVO);

    void saveOrUpdate(HospitalPageVO hospitalPageVO) throws BusinessException;

    void updateHospitalStatus(Long hospital, Integer status);

    HospitalPageVO queryByHospitalId(Long hospitalId);
}
